import math

print(math.pow(10,2))

#向下取整 1.832156
print(math.floor(1.832156))

#向上取整
print(math.ceil(1.432156))

#四舍五入
print(round(1.432156))

print(math.sin(math.pi/6))

import random
print(random.randint(10,20))
print(random.random()) #随机生成小数 0-1
print(random.uniform(10,20)) #浮点

#从列表中随机获取元素

arr = [2,3,5,7]
print(random.choice(arr))





